package com.woniuxy.caradmin.util;

import io.swagger.models.auth.In;

/**
 * 返回状态码的接口,业务返回码200，错误返回码201
 */
public interface ResultCode {
    public static Integer SUCCESS=200;
    public static Integer ERROR=201;
    //用户业务状态码从1xx开始
    public static Integer USERISNULL=101;
    public static Integer USERNOTISNULL=102;
    //用户登录
    public static Integer LOGINSUCCESS=103;
    public static Integer LOGINFIAIL=104;
    //车辆信息为空
    public static Integer VEHICLELISTNULL=205;
    //往来单位信息为空
    public static Integer UNITLISTNULL=206;

//系统字典表从21x开始
    public static Integer DBREAKISNULL=210;
    public static Integer DYEARISNULL=211;
//违章记录从50x开始


    //加油记录从40x开始
    //查询全部
    public  static Integer OILRECORDISNULL=400;
    //增加
    public  static Integer OILRECORDADDISSUC=401;
    public  static Integer OILRECORDADDISFAI=402;
    //修改
    public  static Integer OILRECORDUPDATEISSUC=403;
    public  static Integer OILRECORDUPDATEISFAI=404;
    //删除
    public  static Integer OILRECORDDELETEISSUC=405;
    public  static Integer OILRECORDDELETEISFAI=406;

    //维修记录从41x开始
    //查询全部
    public  static Integer REPAIRRECORDISNULL=410;
    //增加
    public  static Integer REPAIRRECORDADDISSUC=411;
    public  static Integer REPAIRRECORDADDISFAI=412;
    //修改
    public  static Integer REPAIRRECORDUPDATEISSUC=413;
    public  static Integer REPAIRRECORDUPDATEISFAI=414;
    //删除
    public  static Integer REPAIRRECORDDDELETEISSUC=415;
    public  static Integer REPAIRRECORDDELETEISFAI=416;

    //规费记录从42x开始
    public  static Integer FEERECORDISNULL=420;
    //增加
    public  static Integer FEERECORDISSUC=421;
    public  static Integer FEERECORDISFAI=422;
    //修改
    public  static Integer FEERECORDUPDATEISSUC=423;
    public  static Integer FEERECORDUPDATEISFAI=424;
    //删除
    public  static Integer FEERECORDDDDELETEISSUC=425;
    public  static Integer FEERECORDDDELETEISFAI=426;

    //保养记录从43x开始
    public static Integer MAINTAINRECORDISNULL = 430;
    //增加
    public  static Integer MAINTAINRECORDISSUC=431;
    public  static Integer MAINTAINRECORDISFAI=432;
    //修改
    public  static Integer MAINTAINRECORDUPDATEISSUC=433;
    public  static Integer MAINTAINRECORDUPDATEISFAI=434;
    //删除
    public  static Integer MAINTAINRECORDDELETEISSUC=435;
    public  static Integer MAINTAINRECORDDDELETEISFAI=436;

    //违章记录从5XX开始
    public  static Integer BREAKRRISNULL=500;
    public static  Integer BREAKRRSUC=501;
    public static Integer BREAKRRFAIL=502;
    public  static  Integer UPBREAKRRSUC=503;
    public  static Integer UPBREAKRRFAIL=504;
    public static Integer REMOVEBRRSUC=505;
    public static Integer REMOVEBRRFAIL=506;
    public static  Integer TIMESHEZHI=507;


    //事故记录从51x开始
    public static Integer TROUBLEISNULL=510;
    public static Integer ADDTROUBLEFAIL=511;
    public static Integer ADDTRUBLESUC=512;
    public static Integer REMOVETRUBLESUC=513;
    public static Integer REMOVETRUBLESFAIL=514;
    public static Integer UPTROUBLESUC=515;
    public static Integer UPTROUBLEFAIL=516;



    //年检记录从52x开始
    public static Integer YEARISNULL=520;
    public static Integer ADDYEARSUC=521;
    public static Integer ADDYEARFAIL=522;
    public static Integer REMOVEYEARSUC=523;
    public static Integer REMOVEYEARFAIL=524;
    public static Integer UPYEARSUC=525;
    public static Integer UPYEARFAIL=526;
    public static Integer SSNTYEARCHECK=527;
    public static Integer LMNTYEARCHECK=528;
    public  static Integer SNTYEARCHECK=529;
    public static Integer FSNTYEARCHECK=530;
    public static Integer TLMNTYEARCHECK=531;

    //保险记录从53x开始
    public static Integer INSUREISNULL=530;
    public static Integer ADDINUSRESUC=531;
    public static Integer ADDINSUREFAIL=532;
    public static Integer REMOVEINSURESUC=533;
    public static Integer REMOVEINSUREFAIL=534;
    public static Integer UPINSURESUC=535;
    public static Integer UPINSUREFAIL=536;
    public static  Integer TIMEFAIL=537;
    public static Integer TTMEONEYEAR=538;

    //根据id查询往来单位为空
    public static Integer UNITISNULL=2061;
    //根据id查询车辆为空
    public static Integer VEHICLEISNULL=207;
    //增加车辆失败
    public static Integer VEHICLEADDFAIL=207;
    //删除车辆失败
    public static Integer VEHICLEREMOVEFAIL=208;
    //可用车辆信息为空
    public static Integer VEHICLEUSEBLENULL=209;
    //修改车辆失败
    public static Integer VEHICLEUPDFAIL=210;


    //角色状态码
    public static Integer ROLENOTNULL=110;
    public static Integer ROLEISNULL=111;
    //驾驶员档案
    public static Integer DRIVERISNOTNULL=120;
    public static Integer DRIVERISNULL=121;
    //权限状态码
    public static Integer PERISNULL=131;
    public static Integer PERISNOTNULL=132;
    public static Integer PERSUCCESS=133;
    public static Integer PERFIAIL=134;
    //用户职位
    public static Integer EMPISNULL=140;
    public static Integer EMPNOTISNULL=141;
    public static Integer USERADDSUCCESS=142;
    public static Integer USERADDFILTER=143;
    public static Integer USERUPDATESUCCESS=144;
    public static Integer USERUPDATEFILTER=145;
    //年检、保养、保险到期检查完毕
    public static Integer EXPIRETIMECHECKED=211;
    //到期提醒集合正常
    public static Integer REMINDSUC=212;
    //删除提醒记录成功
    public static Integer REMINDDELETESUC=213;
    //申请失败
    public static Integer APPLYNULL=301;
    //未回车申请
    public static Integer OUTRECORDRECORDLISTNUll=302;
    public static Integer OUTRECORDLIST1NULL=303;
    //增加出行记录成功信息
    public static Integer INSERTOUT=303;
    //增加失败
    public static Integer INSERTOUTNULL=304;
    //查询一条信息
    public static Integer SELETBUID=305;
    public static Integer SELETBUIDFALSE=306;
    //修改成功
    public static Integer UPDATESUCCESSRECORD=307;
    //修改失败
    public static Integer UPDATEFALSERECORD=308;
    //删除成功
    public static Integer DELETEFALSERECORD=309;
    public static Integer DELETESUCCESSRECORD=3001;
    //删除单位成功
    public static Integer REMOVEUNITSUC=214;
    //删除单位失败
    public static Integer REMOVEUNITFAIL=215;
    //增加单位成功
    public static Integer ADDUNITSUC=216;
    //增加单位失败
    public static Integer ADDUNITFAIL=217;
    //更新单位成功
    public static Integer UPDUNITSUC=218;
    //更新单位失败
    public static Integer UPDUNITFAIL=219;
}
